package com.richard.cloud.feign;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import com.richard.cloud.entity.Payment;

/**
 * payment微服务公用的Feign客户端
 * @author Super
 */
public interface PaymentServiceFeignClient {
	//直接从payment微服务的controller拷贝
	//@GetMapping("/payment/{id}")
	//public ComnResult<Payment> getPaymentInfo(@PathVariable("id") Long id);
	@GetMapping("/payment/{id}")
    public Payment getPaymentInfo(@PathVariable("id") Long id);
}
